<template>
  <div class="left">
    <el-menu
      :router="true"
      default-active="/"
      class="el-menu-vertical-demo"
      background-color="#2e3235"
      text-color="#f4f4f4"
      active-text-color="#ffd04b"
    >
      <div class="items">
        <el-menu-item index="/">
          <i class="el-icon-s-home"></i>
          <span slot="title" class="items">首页</span>
        </el-menu-item>
      </div>
      <div class="items">
        <el-menu-item index="/member/">
          <i class="el-icon-user-solid"></i>
          <span slot="title">会员管理</span>
        </el-menu-item>
      </div>
      <div class="items">
        <el-menu-item index="/goods/">
          <i class="el-icon-s-goods"></i>
          <span slot="title">商品管理</span>
        </el-menu-item>
      </div>
      <div class="items">
        <el-menu-item index="/staff/">
          <i class="el-icon-user"></i>
          <span slot="title">员工管理</span>
        </el-menu-item>
      </div>
      <div class="items">
        <el-menu-item index="/supplier/">
          <i class="el-icon-s-cooperation"></i>
          <span slot="title">供应商管理</span>
        </el-menu-item>
      </div>
      <div class="items">
        <el-menu-item index="/purchase-list/">
          <i class="el-icon-s-order"></i>
          <span slot="title">进货单管理</span>
        </el-menu-item>
      </div>
      <div class="items">
        <el-menu-item index="/dispatch-bill/">
          <i class="el-icon-tickets"></i>
          <span slot="title">发货单管理</span>
        </el-menu-item>
      </div>
      <div class="items">
        <el-menu-item index="/logs/">
          <i class="el-icon-s-platform"></i>
          <span slot="title">系统日志</span>
        </el-menu-item>
      </div>
    </el-menu>
  </div>
</template>
<style scoped>
.el-menu-item {
  font-size: 12px;
}
.items {
  height: 40px;
  vertical-align: middle;
}
.el-menu {
    border-right: none;
}
</style>